home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3instnc.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_INSTANCE_H = 1;
- include("real/objects/r3level.js")
-
-
- var R3CLID_INSTANCE = 132;
-
-
-
-
- // Description: See if the source object is of type
- // Returns: Boolean, true if the class of the object matches the given class
- // p3: Integer, class id to be checked
-
- R3INSTANCEM_SOURCEISOFKIND = 132001;
-
- function mR3INSTANCEM_SOURCEISOFKIND(p3) {
- return DoA(this.r3obj, 132001, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Attach the link object to the given source object.
- // Returns: Boolean, true if succeeded.
- // p3: Object, new source object.
-
- R3INSTANCEM_ATTACH = 132002;
-
- function mR3INSTANCEM_ATTACH(p3) {
- return DoA(this.r3obj, 132002, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Detach the link object from the given source object.
- // Returns: Boolean, true if succeeded.
- // p3: Object, source object
-
- R3INSTANCEM_DETACH = 132003;
-
- function mR3INSTANCEM_DETACH(p3) {
- return DoA(this.r3obj, 132003, p3, R3TID_OBJECT, 0);
- }
-
-
-
-
- R3INSTANCEA_SourceObject = 132500;
- function SetR3INSTANCEA_SourceObject(value) {
- R3Set(this.r3obj, R3INSTANCEA_SourceObject, value, R3TID_OBJECT, 0);
- }
-
- function GetR3INSTANCEA_SourceObject() {
- return R3ToJS(R3Get(this.r3obj, R3INSTANCEA_SourceObject, R3TID_OBJECT, 0));
- }
-
- R3INSTANCEA_OrigSourceObject = 132501;
- function GetR3INSTANCEA_OrigSourceObject() {
- return R3ToJS(R3Get(this.r3obj, R3INSTANCEA_OrigSourceObject, R3TID_OBJECT, 0));
- }
-
- R3INSTANCEA_NumMovedPoints = 132502;
- function SetR3INSTANCEA_NumMovedPoints(value) {
- R3Set(this.r3obj, R3INSTANCEA_NumMovedPoints, value, R3TID_INTEGER, 0);
- }
-
- function GetR3INSTANCEA_NumMovedPoints() {
- return R3Get(this.r3obj, R3INSTANCEA_NumMovedPoints, R3TID_INTEGER, 0);
- }
-
- R3INSTANCEA_SourceId = 132506;
- function SetR3INSTANCEA_SourceId(value) {
- R3Set(this.r3obj, R3INSTANCEA_SourceId, value, R3TID_INTEGER, 0);
- }
-
- function GetR3INSTANCEA_SourceId() {
- return R3Get(this.r3obj, R3INSTANCEA_SourceId, R3TID_INTEGER, 0);
- }
-
- R3INSTANCEA_NoTargetMatrix = 132507;
- function SetR3INSTANCEA_NoTargetMatrix(value) {
- R3Set(this.r3obj, R3INSTANCEA_NoTargetMatrix, value, R3TID_INTEGER, 0);
- }
-
- function GetR3INSTANCEA_NoTargetMatrix() {
- return R3Get(this.r3obj, R3INSTANCEA_NoTargetMatrix, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Instance () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_INSTANCE, arguments);
- }
- // Methods
- this.SOURCEISOFKIND=mR3INSTANCEM_SOURCEISOFKIND;
- this.ATTACH=mR3INSTANCEM_ATTACH;
- this.DETACH=mR3INSTANCEM_DETACH;
-
- // Attributes
- this.GetSourceObject=GetR3INSTANCEA_SourceObject;
- this.SetSourceObject=SetR3INSTANCEA_SourceObject;
- this.GetOrigSourceObject=GetR3INSTANCEA_OrigSourceObject;
- this.GetNumMovedPoints=GetR3INSTANCEA_NumMovedPoints;
- this.SetNumMovedPoints=SetR3INSTANCEA_NumMovedPoints;
- this.GetSourceId=GetR3INSTANCEA_SourceId;
- this.SetSourceId=SetR3INSTANCEA_SourceId;
- this.GetNoTargetMatrix=GetR3INSTANCEA_NoTargetMatrix;
- this.SetNoTargetMatrix=SetR3INSTANCEA_NoTargetMatrix;
- }
-
- r3Instance.prototype=new r3Level;
- // r3instnc.h_H